package com.mz.ozy.mvp.view;

import android.app.Activity;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.ExchangeOrderBean;
import com.mz.ozy.bean.ShopDetailBean;
import com.mz.ozy.bean.ShopSpecListBean;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class ScheduledDetailContract {

    public interface View extends BaseView {

        void obtainShopDetailInfoSuccess(ShopDetailBean o);

        void obtainSpecListSuccess(ShopSpecListBean o);

        void onGoodsFollowSuccess(Object o);

        void onBuySuccess(ExchangeOrderBean o);
    }

    public interface Presenter extends BasePresenter<View> {
        void obtainShopDetailInfo(Activity activity, String goodsId);

        void obtainSpecList(Activity activity, String id);

        void onGoodsFollow(Activity activity, String gid);

        void onBuy(Activity activity, String goodsId, String gid);
    }
}
